3.Verify that the overall sorting algorithm returns an output that is sorted.